<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<title>中国刊网-申请编委</title>

<link href="css/space.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="js/jquery-1.9.0.js"></script>
<script type="text/javascript" src="layer-v1.5.1/layer/layer.min.js"></script>
<script type="text/javascript" src="js/warningMsg.js"></script>
<script type="text/javascript" src="js/space.js"></script>
<script type="text/javascript">
//申请编委-验证是否已经提交过申请
$(function() {
	$.get("json/isAppliedCommit", function(data) {
		if(data.result == true) {
			$("#commitSubmit").attr("disabled", "disabled");
			new applyMsg();
		}
	});
});
//申请编委-验证是否已经提交过申请
</script>
<%--
<script src="js/jquery.validate.min.js"></script>
<script src="js/WarnMessages.js"></script>
--%>
</head>

<body>
	<div class="all">
		<div class="bodyge1">
			<div class="bodyge-left">
				<div class="bodyge-left-a1">
					<span class="font-b">申请编委</span>
				</div>
				<form id="applyCommitForm" action="space/userApplayEditorCommit.action" method="post">
					<input type="hidden" name="editorCommit.userId" value="${ sessionScope.user_sessionid }"/>
					<input type="hidden" name="editorCommit.result" value="0" />
					<input type="hidden" name="value" value="2" />
					<div id="perMsg" class="periodicalWarning">请先选择期刊</div>
					<div class="wang-sort">期刊分类: 
						<select id="category" size="1" class="table_select" onchange="find_bycategoryId()">
							<option value="0" selected="selected">请选择---&nbsp;&nbsp;&nbsp;&nbsp;</option>
						</select>
					</div>
					<div class="wang-sort">期刊名称: 
						<select id="periodical" size="1" name="editorCommit.periodicalId" class="table_select" onclick="isSelectCategory()" onchange="selectPeriodical()">
							<option value="0">请选择---&nbsp;&nbsp;&nbsp;&nbsp;</option>
						</select>
					</div>
					
					<div class="wang-introduce">
						<div id="introMsg" class="periodicalWarning">个人介绍不能为空</div>
						<div class="wang-font">个人介绍:</div>
						<textarea id="introduce" name="editorCommit.introduce" onblur="introValidate()" class="form-a"></textarea>
					</div>
					<div class="wang-introduce">
						<div id="reasonMsg" class="periodicalWarning">申请理由不能为空</div>
						<div class="wang-font">申请理由:</div>
						<textarea id="commitReason" name="editorCommit.reason" onblur="reasonValidate()" class="form-a"></textarea>
					</div>
					<div class="wang-button">
						<input class="inputStyle" type="button" value="确定" onclick="submitCommit()" class="input"> 
						<input class="inputStyle" type="reset" value="取消" class="input" style="margin-left:60px;">
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>





